
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-calendar"></i>
                    <div class="name">calendar</div>
                    <div class="fontclass">.icon-calendar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-info"></i>
                    <div class="name">information</div>
                    <div class="fontclass">.icon-info</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chat"></i>
                    <div class="name">chat</div>
                    <div class="fontclass">.icon-chat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-settings-streamline"></i>
                    <div class="name">185094 - settings streamline</div>
                    <div class="fontclass">.icon-settings-streamline</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-down"></i>
                    <div class="name">caret</div>
                    <div class="fontclass">.icon-caret-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close-c</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cog"></i>
                    <div class="name">setting-24</div>
                    <div class="fontclass">.icon-cog</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close-o"></i>
                    <div class="name">close-circle</div>
                    <div class="fontclass">.icon-close-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trash"></i>
                    <div class="name">trash</div>
                    <div class="fontclass">.icon-trash</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people"></i>
                    <div class="name">注册登录-用户名</div>
                    <div class="fontclass">.icon-people</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-transfer"></i>
                    <div class="name">账单费用明细</div>
                    <div class="fontclass">.icon-transfer</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-id-card"></i>
                    <div class="name">实名认证</div>
                    <div class="fontclass">.icon-id-card</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-left"></i>
                    <div class="name">arrow-left-o</div>
                    <div class="fontclass">.icon-arrow-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-right"></i>
                    <div class="name">arrow-right-o</div>
                    <div class="fontclass">.icon-arrow-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-up"></i>
                    <div class="name">arrow-top-o</div>
                    <div class="fontclass">.icon-arrow-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-down"></i>
                    <div class="name">arrow-down-o</div>
                    <div class="fontclass">.icon-arrow-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus"></i>
                    <div class="name">plus-o</div>
                    <div class="fontclass">.icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people-edit"></i>
                    <div class="name">people-6-个人</div>
                    <div class="fontclass">.icon-people-edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people-3"></i>
                    <div class="name">people-4-个人</div>
                    <div class="fontclass">.icon-people-3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people-2"></i>
                    <div class="name">people-3-个人</div>
                    <div class="fontclass">.icon-people-2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people-cog"></i>
                    <div class="name">people-7-个人</div>
                    <div class="fontclass">.icon-people-cog</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-circle-dot"></i>
                    <div class="name">circle-圆圈</div>
                    <div class="fontclass">.icon-circle-dot</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wallet"></i>
                    <div class="name">order01</div>
                    <div class="fontclass">.icon-wallet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wechat"></i>
                    <div class="name">wechat</div>
                    <div class="fontclass">.icon-wechat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-back-o"></i>
                    <div class="name">back</div>
                    <div class="fontclass">.icon-back-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">aui-icon-lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-clock"></i>
                    <div class="name">clock</div>
                    <div class="fontclass">.icon-clock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-filter"></i>
                    <div class="name">filter</div>
                    <div class="fontclass">.icon-filter</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-back"></i>
                    <div class="name">icon_back</div>
                    <div class="fontclass">.icon-back</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-orderform"></i>
                    <div class="name">order form</div>
                    <div class="fontclass">.icon-orderform</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq"></i>
                    <div class="name">qq</div>
                    <div class="fontclass">.icon-qq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checked"></i>
                    <div class="name">checked</div>
                    <div class="fontclass">.icon-checked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu"></i>
                    <div class="name">menu</div>
                    <div class="fontclass">.icon-menu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chat-pic"></i>
                    <div class="name">pic_chat</div>
                    <div class="fontclass">.icon-chat-pic</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-message"></i>
                    <div class="name">message_light</div>
                    <div class="fontclass">.icon-message</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money"></i>
                    <div class="name">money-1</div>
                    <div class="fontclass">.icon-money</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-red_packet"></i>
                    <div class="name">red_packet</div>
                    <div class="fontclass">.icon-red_packet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money-bag"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money-bag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-share"></i>
                    <div class="name">share</div>
                    <div class="fontclass">.icon-share</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dice1"></i>
                    <div class="name">dice1</div>
                    <div class="fontclass">.icon-dice1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dice5"></i>
                    <div class="name">dice5</div>
                    <div class="fontclass">.icon-dice5</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-settings"></i>
                    <div class="name">078-settings</div>
                    <div class="fontclass">.icon-settings</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
